<?php

$documentRoot = "";

if (empty($documentRoot)) {print "Set your document root path first\n"; exit;}

$projectPath = $documentRoot."/examples/hello_world";
include $projectPath."/../../core/sCore.php";

// include __DIR__.'/../common.php';
sCore::factory($projectPath);
sCore::using(sCore::PACKAGE_GENERATORS);
sCore::using(sCore::PACKAGE_HELPERS);

       $config = array (
           'DBNAME' => "sCore",
           'DBUSER' => "root",
           'DBHOST' => "localhost",
           'DBPASS' => "",
       );

$DBHelper = new DBGenerationHelper($config);
$DBHelper->Generate();
